﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QQInterfaceDemo
{
    public partial class AddQqInfoValid : Form
    {
        private PerkyQQ perkyQq = null;
        private string toQqNum = string.Empty;

        public AddQqInfoValid()
        {
            InitializeComponent();
        }

        public AddQqInfoValid(PerkyQQ perkyQq,string toQqNum)
        {
            InitializeComponent();
            this.perkyQq = perkyQq;
            this.toQqNum = toQqNum;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            perkyQq.Ack_AddToList(toQqNum, "2");
            if (perkyQq.is_RightLogin)
            {
                MessageBox.Show("发送成功，等待对方确认");
                this.Hide();
            }
        }
    }
}
